home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-20 | 1.2 KB | 41 lines | [TEXT/GEOL] |
- Item 5156731 17-Oct-89 17:45
-
- From: D2086 Efficient Field Svc, C Faith,PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- cc: APPLE.BUGS Apple Bugs Reporting
- MACAPP.TEST MacApp SQA Team
-
- Sub: DeselectEditText Bug
-
- I think I have found another MacApp 2.0B9 BUG!
-
- TDialogView.DeselectCurrentEditText and TEditText.StopEdit do nothing to change
- gTarget from being the EditText that was deselected.
-
- What this means is that TEditText.DoMouseCommand bombs when a mouse is pressed
- in a TEditText item and nothing else has been done to change the value of
- gTarget.
-
- FUNCTION TEditText.DoMouseCommand(VAR theMouse: Point; VAR info: EventInfo;
- VAR hysteresis: Point): TCommand; OVERRIDE;
-
- BEGIN
- IF gTarget <> SELF THEN
- DoChoice(SELF, fDefChoice);
-
- { Make sure we were in fact selected before passing along the mouse click }
- IF gTarget = SELF THEN
- DoMouseCommand := fTEView.DoMouseCommand(theMouse, info, hysteresis)
- ELSE
- DoMouseCommand := gNoChanges;
- END;
-
- The DoChoice is not executed and hence when you get below gTarget is = to SELF
- and fTEView is NIL; (because DoChoice was not executed)
-
- - Curtis
-
-
-